<template>
    <div>
        <van-nav-bar
  title="我的砍价"
  left-arrow
  @click-left="onClickLeft"
/>
<div class="People_down_price_goodlist_card" v-for="(item, index) in People_down_price_goodlist" :key="index">
                <div class="left">
                    <img :src="item.pic" alt="">
                </div>
                <div class="right">
                    <span class="p1">{{item.characteristic}}</span>
                    <br>
                    <span class="p2">{{item.name}}</span>
                    <br>
                    <div class="san">
                        <div class="dijia">
                            <span class="con1">低价</span><br>
                            <span>{{item.kanjiaPrice}}</span>
                        </div>
                        <div class="yuanjia">
                            <span class="con1">原价</span><br>
                            <span>{{item.originalPrice}}</span>
                        </div>
                        <div class="xianliang">
                            <span class="con1">限量</span><br>
                            <span>{{item.stores}}</span>
                        </div>
                    </div>
                </div>
            </div>
    </div>
</template>
<script>
export default {
    data(){
        return{
            People_down_price_goodlist:""
        }
    },
    mounted() {
        this.$APIClient.Peo_Down_Price().then((res) => {
    //   console.log(res.data.data.goodsMap);
      this.People_down_price_goodlist=res.data.data.goodsMap;
    });
   
    },
     methods: {
         onClickLeft() {
      Toast('返回');
    },
    }
    
}
</script>
<style scoped>
    .People_down_price{
        color: rgba(0, 0, 0, 0.79);
        margin-top: 30px;
        text-align: center;
         line-height: 20px;
    }
    .People_down_price_goodlist_card{
        width: 100%;
        height: 6rem;
        display: flex;
        justify-content: space-around;
        align-items: center;
        margin-top: 10px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.103);
    }
    .People_down_price_goodlist_card .left{
        width: 25%;
        height: 5.5rem;
        /* border: 1px solid #000; */
    }
    .People_down_price_goodlist_card .left img{
        width: 100%;
        height: 100%;
        /* border: 1px solid #000; */
    }
    .People_down_price_goodlist_card .right{
        width: 60%;
        height: 5.5rem;
        /* border: 1px solid #000; */
    }
    .p1{
        font-size: 13px;
    }
    .p2{
        color: grey;
        font-size: 10px;
    }
    .san{
        display: flex;
        justify-content: space-around; 
    }
    .con1{
        color: red;
    }
</style>